package java8.pojo;

public interface IMessage {

    default void sendMessage() {
        System.out.println("sending message: " + createMessage());
    }

    default String getTitle() {
        return "Message Title";
    }

    static String getBody() {
        return "Message Body";
    }

    String createMessage();

}